package com.yztctech.a25_03_bindservice;

import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;

import androidx.annotation.Nullable;

import com.yztctech.a25_03_bindservice.base.MyBaseService;

public class LoadMediaService extends MyBaseService {
    @Override
    public void onCreate() {
        super.onCreate();
    }

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return new LoadMediaBinder();
    }

    class LoadMediaBinder extends Binder {
        public LoadMediaService getService() {
            return LoadMediaService.this;
        }
    }
    @Override
    protected void loadMedia(String url) {
        super.loadMedia(url);

    }

    @Override
    public boolean onUnbind(Intent intent) {
        return super.onUnbind(intent);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
    }
}
